package com.guoyansoft.model.service;

import com.guoyansoft.config.R;
import com.guoyansoft.model.pojo.Goods;
import com.guoyansoft.model.pojo.Shop;

import java.util.List;
import java.util.Map;

public interface GoodsService {
    R selectByPageAndTotalsize(Map<String,Object> params);
    R selectByPageAndshopId(Map<String,Object> params);
    R update(Goods goods);
    R queryByPage(Map<String,Object> params);
    R dropBatch(Integer[] ids,Integer shopId);
    R save(Goods goods,Integer shopId);
    Goods queryById(Integer id);
    R selectByShopTypeId(Map<String,Object> params);

    Goods queryByGoodsName(String goodsName);

    R queryPageAndShopId(Map<String,Object> params);
}
